package com.zeng.jiudian.bean;

public class NewModel
{
    private Integer id;
    private String title;
    private String isFrom;
    private String author;
    private String type;
    private String content;
    private String createTime;
    private String updateTime;
    private Integer viewNum;
    private Integer isShow;
    private Integer recommend;
    private String introduction;
    private Integer newTypeId;

    private String order;
    private String lift;
    private String startCreateTime;
    private String endCreateTime;
    private PageModel pageModel;
    private NewTypeModel newTypeModel;

    public Integer getId()
    {
        return id;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public String getTitle()
    {
        return title;
    }

    public void setTitle(String title)
    {
        this.title = title == null ? null : title.trim();
    }

    public String getIsFrom()
    {
        return isFrom;
    }

    public void setIsFrom(String isFrom)
    {
        this.isFrom = isFrom == null ? null : isFrom.trim();
    }

    public String getAuthor()
    {
        return author;
    }

    public void setAuthor(String author)
    {
        this.author = author == null ? null : author.trim();
    }

    public String getType()
    {
        return type;
    }

    public void setType(String type)
    {
        this.type = type == null ? null : type.trim();
    }

    public String getContent()
    {
        return content;
    }

    public void setContent(String content)
    {
        this.content = content == null ? null : content.trim();
    }

    public String getCreateTime()
    {
        return createTime;
    }

    public void setCreateTime(String createTime)
    {
        this.createTime = createTime;
    }

    public String getUpdateTime()
    {
        return updateTime;
    }

    public void setUpdateTime(String updateTime)
    {
        this.updateTime = updateTime;
    }

    public Integer getViewNum()
    {
        return viewNum;
    }

    public void setViewNum(Integer viewNum)
    {
        this.viewNum = viewNum;
    }

    public Integer getIsShow()
    {
        return isShow;
    }

    public void setIsShow(Integer isShow)
    {
        this.isShow = isShow;
    }

    public Integer getRecommend()
    {
        return recommend;
    }

    public void setRecommend(Integer recommend)
    {
        this.recommend = recommend;
    }

    public String getIntroduction()
    {
        return introduction;
    }

    public void setIntroduction(String introduction)
    {
        this.introduction = introduction == null ? null : introduction.trim();
    }

    public Integer getNewTypeId()
    {
        return newTypeId;
    }

    public void setNewTypeId(Integer newTypeId)
    {
        this.newTypeId = newTypeId;
    }

    public String getOrder()
    {
        return order;
    }

    public void setOrder(String order)
    {
        this.order = order;
    }

    public String getLift()
    {
        return lift;
    }

    public void setLift(String lift)
    {
        this.lift = lift;
    }

    public String getStartCreateTime()
    {
        return startCreateTime;
    }

    public void setStartCreateTime(String startCreateTime)
    {
        this.startCreateTime = startCreateTime;
    }

    public String getEndCreateTime()
    {
        return endCreateTime;
    }

    public void setEndCreateTime(String endCreateTime)
    {
        this.endCreateTime = endCreateTime;
    }

    public PageModel getPageModel()
    {
        return pageModel;
    }

    public void setPageModel(PageModel pageModel)
    {
        this.pageModel = pageModel;
    }

    public NewTypeModel getNewTypeModel()
    {
        return newTypeModel;
    }

    public void setNewTypeModel(NewTypeModel newTypeModel)
    {
        this.newTypeModel = newTypeModel;
    }

    @Override
    public String toString()
    {
        return "NewModel{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", isFrom='" + isFrom + '\'' +
                ", author='" + author + '\'' +
                ", type='" + type + '\'' +
                ", content='" + content + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", viewNum=" + viewNum +
                ", isShow='" + isShow + '\'' +
                ", recommend='" + recommend + '\'' +
                ", introduction='" + introduction + '\'' +
                ", newTypeId=" + newTypeId +
                ", order='" + order + '\'' +
                ", lift='" + lift + '\'' +
                ", startCreateTime='" + startCreateTime + '\'' +
                ", endCreateTime='" + endCreateTime + '\'' +
                ", pageModel=" + pageModel +
                '}';
    }
}